#!/usr/bin/python3

import subprocess
name = input("please input you need name:")
user = subprocess.getoutput("id %s" % name)
if "uid" and "gid" in user:
    print ("the user is exsts")
else:
    print ("the user not exsts")

